<?php
namespace Home\Controller;
use Think\Controller;
/**
 *
 */
class BannerController extends BaseController
{
  public function bannerList() {
    $m = M('banner');
    $list = $m->where('status >= 1')->order('status asc')->select();
    $data['data'] = $list;
    $data['msg'] = '登录成功';
    $this->success($data);
  }
}

?>
